<%@ Page Language="C#" MasterPageFile="~/MasterPages/Default.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Mindscape.BackgroundMotion.Website.Login" Title="Login" %>

<asp:Content ContentPlaceHolderID="BodyContent" runat="server">
  
  <p>Please login to BackgroundMotion. If you do not yet have a login then please <a href="Signup.aspx">click here to sign-up</a>.</p>
  
  <asp:Panel ID="LoginDefaultButtonPanel" runat="server" DefaultButton="LoginButton">

    <div id="formBox">
      
      <asp:Panel ID="ValidationPanel" runat="server" Visible="false">  
        <div class="errors">
          Please enter your email address and password
        </div>
      </asp:Panel>
      
      <div class="row">
        <span class="label">Email Address:</span><asp:TextBox ID="EmailAddress" runat="Server" Width="300px"/>
      </div>
      <div class="row">
        <span class="label">Password:</span><asp:TextBox ID="Password" runat="server" TextMode="Password" Width="300px" />
      </div>
      <div class="row">
        <span class="label">&nbsp;</span><asp:CheckBox ID="RememberMe" runat="server" Text="Remember me on this computer" />
      </div>
      <div class="row">
        <span class="label">&nbsp;</span><asp:Button ID="LoginButton" runat="server" Text="Login" OnClick="LoginButton_Click" CssClass="button" />
      </div>    
    </div>
  
  </asp:Panel>
  
</asp:Content>
